package com.qf.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.qf.mapper.EmployeeMapper;
import com.qf.pojo.Employee;
import com.qf.pojo.EmployeeVo;

import java.util.List;

public interface EmployeeService  extends IService<Employee> {



    public int addEmp(EmployeeVo employeeVo);

    public int dropEmp(Integer empId);

    public int editEmp(EmployeeVo employeeVo);

    public List<EmployeeVo> getEmpsAndDept();

    public EmployeeVo getEmpAndDeptByEmpId(Integer empId);

    public PageInfo<EmployeeVo> getEmpsAndDeptByPage(Integer pageNow, Integer pageSize);


}
